package com.wjr.entity;

import com.wjr.utils.GetImageUtils;

import java.awt.*;
import java.util.Random;

public class Wall extends GameObject {

    Random random = new  Random();

    public  Image image_Wall = GetImageUtils.getImage("images/walls.gif");

    public Image getImage_Wall() {
        return image_Wall;
    }

    public void setImage_Wall(Image image_Wall) {
        this.image_Wall = image_Wall;
    }

    public Wall(){
        x = 100;
        y = 500;
        width = 50;
        height = 50;
        name = "wall";
        isLive = true;

    }

    @Override
    public void drawMe(Graphics graphics) {
        graphics.drawImage(image_Wall,x,y,width,height,null);
    }

    @Override
    public Rectangle getRectangle() {
        return null;
    }
}
